package com.heima.mapper;

import com.heima.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List<User> getAll();

    User getUser(
            @Param("username") String username,
            @Param("password") String password
    );
    void addUser(
            @Param("username") String username,
            @Param("password") String password
    );

    List<User> getUsername();


}
